package com.hspjava.String_;

public class StringExercise01 {
    public static void main(String[] args) {
        String str1 = "lfm";
        String str2 = "lfm";

        System.out.println(str1.equals(str2));
        // 现在常量池里面找，有的话就直接指向
        System.out.println(str1 == str2);

    }
}
